<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ include file="/WEB-INF/jsp/common/_includes.jsp" %>
<jsp:include page="/WEB-INF/jsp/common/_head.jsp"></jsp:include>
<div class="ui grid">
	<div class="row">
		<div class="column">
			<div class="ui two column grid">
				<div class="three wide column">
					<jsp:include page="/WEB-INF/jsp/common/_sidebar.jsp">
						<jsp:param name="index" value="1"/>
					</jsp:include>
				</div>
				<div id="container" class="thirteen wide column">
					<form class="form-horizontal" id="addRoomForm" method="post" action="/admin/room">
						<div class="form-group">
							<label class="col-sm-3 control-label">ID</label>
							<div class="col-sm-5 desc">
								<p class="form-control-static">${employee.id}</p>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">姓名</label>
							<div class="col-sm-5 desc">
								<p class="form-control-static">${employee.realName}</p>
							</div>
						</div>
						<div class="form-group">
							<label  class="col-sm-3 control-label">申请时间</label>
							<div class="col-sm-5 desc">
								<p class="form-control-static"><fmt:formatDate value="${employee.createTime}" pattern="yyyy-MM-dd"/></p>
							</div>
						</div>
						<div class="form-group">
							<label  class="col-sm-3 control-label">身份证号</label>
							<div class="col-sm-5">
								<p class="form-control-static">${employee.identityNo}</p>
							</div>
						</div>
						<div class="form-group">
							<label  class="col-sm-3 control-label">身份证正面</label>
							<div class="col-sm-5">
								<img alt="" src="${employee.positiveCopies}" width="200" height="150">
							</div>
						</div>
						<div class="form-group">
							<label  class="col-sm-3 control-label">身份证反面</label>
							<div class="col-sm-5">
								<img alt="" src="${employee.negativeCopies}" width="200" height="150">
							</div>
						</div>
						<c:if test="${not empty employee.identityNo && employee.cStatus == 0}">
							<div class="form-group">
								<div class="col-sm-offset-3 col-sm-2">
									<button id="js_submit" data-id="${employee.id}" type="button" data-loading-text="处理中..." class="btn btn-block btn-orange">审核通过</button>
								</div>
							</div>
						</c:if>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<jsp:include page="/WEB-INF/jsp/common/_foot.jsp"></jsp:include>
<script type="text/javascript" src="/static/js/support/detail.js"></script>